{% extends 'layoutForm.html' %}

{% block card %}
<div slot="header" class="clearfix">
          <span style="font-family: 楷体; font-weight: 600"
            >云起管理系统管理员登录入口</span
          >
          <el-button style="float: right; padding: 5px 0" type="text">
            <el-link type="primary" href="/register/">
              没有账号 ？去注册
            </el-link>
          </el-button>
        </div>
      {% if error %}
          <el-alert
            title="{{ error }}"
            type="error"
            close-text="知道了"
            style="width: 350px; margin: auto" >
          </el-alert>
      {% endif %}
        <form action="" method="post">
        {% csrf_token %}
          <div class="input-group mb-3" style="width: 300px; margin: 20px auto">
            <span class="input-group-text" id=" basic-addon1">@</span>
            <input
              type="text"
              class="form-control"
              placeholder="Username"
              name="username"
              style="font-size: 13px;"
            />
          </div>
          <div class="input-group mb-3" style="width: 300px; margin: 30px auto">
            <span class="input-group-text" id="basic-addon1">@</span>
            <input
              type="text"
              class="form-control"
              placeholder="Password"
              name="password"
              style="font-size: 13px;"
            />
            <input
              class="btn btn-primary"
              type="submit"
              value="Login"
              style="width: 300px; margin: 30px auto; border-radius: 8px"
            />
          </div>
        </form>
{% endblock %}